package com.EJ.ejcompanyweb.updata;

public class UpdataMessage {
    private String apkUrl;
    private String updateTitle;
    private String updateContent;
    private String serverVersionName;
    private int   serverVersionCode;

    public UpdataMessage(String apkUrl, String updateTitle, String updateContent, String serverVersionName) {
        this.apkUrl = apkUrl;
        this.updateTitle = updateTitle;
        this.updateContent = updateContent;
        this.serverVersionName = serverVersionName;
    }

    public String getApkUrl() {
        return apkUrl;
    }

    public void setApkUrl(String apkUrl) {
        this.apkUrl = apkUrl;
    }

    public String getUpdateTitle() {
        return updateTitle;
    }

    public void setUpdateTitle(String updateTitle) {
        this.updateTitle = updateTitle;
    }

    public String getUpdateContent() {
        return updateContent;
    }

    public void setUpdateContent(String updateContent) {
        this.updateContent = updateContent;
    }

    public String getServerVersionName() {
        return serverVersionName;
    }

    public void setServerVersionName(String serverVersionName) {
        this.serverVersionName = serverVersionName;
    }

    public int getServerVersionCode() {
        return serverVersionCode;
    }

    public void setServerVersionCode(int serverVersionCode) {
        this.serverVersionCode = serverVersionCode;
    }

    @Override
    public String toString() {
        return "UpdataMessage{" +
                "apkUrl='" + apkUrl + '\'' +
                ", updateTitle='" + updateTitle + '\'' +
                ", updateContent='" + updateContent + '\'' +
                ", serverVersionName='" + serverVersionName + '\'' +
                ", serverVersionCode=" + serverVersionCode +
                '}';
    }
}
